]> dgit.raspbian.org Git - gnome-shell.git/log
gnome-shell.git
6 years agounlockDialog: Show unlock hint on inactivity
Florian Müllner [Tue, 11 Feb 2020 18:35:22 +0000 (19:35 +0100)]
unlockDialog: Show unlock hint on inactivity

Inactivity on the unlock screen can be an indication that the user
doesn't know how to get to the auth prompt. Fade in a small hint
that points them in the right direction.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/972

6 years agounlockDialog: Support clock/prompt switching via scrolling
Florian Müllner [Tue, 11 Feb 2020 16:46:11 +0000 (17:46 +0100)]
unlockDialog: Support clock/prompt switching via scrolling

SwipeTracker "only" handles touch gestures and smooth scrolling.
Scrolling still makes sense for regular mice as well though, so
add handling for that as well.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/972

6 years agounlockDialog: Add swipe gesture
Florian Müllner [Sun, 2 Feb 2020 11:23:32 +0000 (12:23 +0100)]
unlockDialog: Add swipe gesture

Clicking or typing to reveal the auth prompt are good options for
mouse/keyboard workflows, but awkward on touch devices. Now that
we have SwipeTracker, adding corresponding gestures support is
easy, so do just that.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/972

6 years agounlockDialog: Use adjustment to control the transition
Florian Müllner [Sun, 2 Feb 2020 11:10:10 +0000 (12:10 +0100)]
unlockDialog: Use adjustment to control the transition

Tying the transition parameters to a single progress value represented
by an adjustment will enable us to implement stick-to-content swipe
gestures.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/972

6 years agounlockDialog: Tweak transition animation
Florian Müllner [Sun, 2 Feb 2020 09:43:55 +0000 (10:43 +0100)]
unlockDialog: Tweak transition animation

The current transition between clock and auth prompt uses a simple
crossfade.

"What kind of spatial model is that?!"
                                  T.B.

Root the transition a bit more by adding translation and scale to
the animation.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/972

6 years agoUpdate Brazilian Portuguese translation
Rafael Fontenelle [Thu, 13 Feb 2020 14:10:25 +0000 (14:10 +0000)]
Update Brazilian Portuguese translation

6 years agoUpdated Spanish translation
Daniel Mustieles [Thu, 13 Feb 2020 08:43:28 +0000 (09:43 +0100)]
Updated Spanish translation

6 years agoUpdate Persian translation
Danial Behzadi [Thu, 13 Feb 2020 01:13:40 +0000 (01:13 +0000)]
Update Persian translation

6 years agoUpdate Finnish translation
Jiri Grönroos [Wed, 12 Feb 2020 20:34:34 +0000 (20:34 +0000)]
Update Finnish translation

6 years agoauthPrompt: Don't hide the caps lock warning label
Georges Basile Stavracas Neto [Tue, 11 Feb 2020 15:03:07 +0000 (12:03 -0300)]
authPrompt: Don't hide the caps lock warning label

Hiding the Caps lock warning label changes the layout of
Auth Prompt. This is specially noticeable when logging in
with unlisted users, where we change the visibility of this
label after typing a username, and the whole user widget
moves a bit.

Change the Cap lock label's opacity instead of hiding it.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/922

6 years agouserWidget: Add empty label when user is null
Georges Basile Stavracas Neto [Tue, 11 Feb 2020 13:39:22 +0000 (10:39 -0300)]
userWidget: Add empty label when user is null

Currently, when a null user is passed, we don't add any
username label. That makes the layout of user and no-user
cases inconsistent.

Add a ghost label with no opacity to mimic the username
label.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/922

6 years agoauthPrompt: Only spin on password entries
Georges Basile Stavracas Neto [Tue, 11 Feb 2020 13:33:02 +0000 (10:33 -0300)]
authPrompt: Only spin on password entries

Spinning while typing the password is a bit off-putting, and
inconsistent with how regular authentication behaves.

Only spin the spinner after typing the password.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/922

6 years agoauthPrompt: Refactor 'next' signal
Georges Basile Stavracas Neto [Tue, 11 Feb 2020 13:27:36 +0000 (10:27 -0300)]
authPrompt: Refactor 'next' signal

Currently, AuthPrompt is connecting to its own 'next' signal
signal to react to any of the entries being activated, and do
some actions like starting the spinner and answering the PAM
question.

Refactor this code into another method, and don't connect to
our own signal.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/922

6 years agotheme: Increase border-radius of user list items
Georges Basile Stavracas Neto [Mon, 10 Feb 2020 18:33:42 +0000 (15:33 -0300)]
theme: Increase border-radius of user list items

To keep consistency with the radius of other elements.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/922

6 years agoauthPrompt: Remove colons from questions
Georges Basile Stavracas Neto [Mon, 10 Feb 2020 18:15:16 +0000 (15:15 -0300)]
authPrompt: Remove colons from questions

Unfortunately, the question that is displayed comes directly
from PAM. It usually is just "Password:", which comes from
pam-unix, but other questions can be set, usually with the
colons, since they are crafted with a CLI workflow in mind.

Manually drop the colons from questions asked by PAM. This
is also done by the PolKit agent, which shows how the stack
is fragile, but it's what we have for now.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/922

6 years agoauthPrompt: Keep buttonWell and cancel button sizes in sync
Georges Basile Stavracas Neto [Thu, 6 Feb 2020 20:51:18 +0000 (17:51 -0300)]
authPrompt: Keep buttonWell and cancel button sizes in sync

So that the entry is horizontally centralized at all times.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/922

6 years agologinDialog: Use text entry for username
Georges Basile Stavracas Neto [Thu, 6 Feb 2020 20:30:36 +0000 (17:30 -0300)]
loginDialog: Use text entry for username

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/922

6 years agoauthPrompt: Connect signals to both text and password entries
Georges Basile Stavracas Neto [Thu, 6 Feb 2020 20:27:20 +0000 (17:27 -0300)]
authPrompt: Connect signals to both text and password entries

This is a regression from the transition to password entry. Both
entries need to be connected to the relevant signals, otherwise
username-based login won't ever work.

Connect both the text and the password entries.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/922

6 years agoauthPrompt: Trivial style cleanup
Georges Basile Stavracas Neto [Thu, 6 Feb 2020 20:20:48 +0000 (17:20 -0300)]
authPrompt: Trivial style cleanup

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/922

6 years agologinDialog: Replace colon by ellipsis on username question
Georges Basile Stavracas Neto [Thu, 6 Feb 2020 20:00:02 +0000 (17:00 -0300)]
loginDialog: Replace colon by ellipsis on username question

So it plays better as a hint text.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/922

6 years agoauthPrompt: Use entry to show question texts
Georges Basile Stavracas Neto [Thu, 6 Feb 2020 19:57:53 +0000 (16:57 -0300)]
authPrompt: Use entry to show question texts

Currently, there is a dedicated label above the entry to
display the question text. According to the new mockups
for the lock screen, this label doesn't exist; instead,
the question is set inside the entry itself, as a hint
text.

Set the questions as hint texts of the entry, and remove
the now unused label.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/922

6 years agotheme: Make AuthPrompt messages white
Georges Basile Stavracas Neto [Wed, 5 Feb 2020 19:00:10 +0000 (16:00 -0300)]
theme: Make AuthPrompt messages white

As per design review, it is more important to preserve the
legibility of the labels than their actual warning colors.

Make the login & unlock dialog message labels white.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/922

6 years agologinDialog: Center align Caps Lock and authentication messages
Georges Basile Stavracas Neto [Wed, 5 Feb 2020 18:26:44 +0000 (15:26 -0300)]
loginDialog: Center align Caps Lock and authentication messages

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/922

6 years agologinDialog: Set null user when asking for username
Georges Basile Stavracas Neto [Thu, 6 Feb 2020 19:24:32 +0000 (16:24 -0300)]
loginDialog: Set null user when asking for username

When going through the username + password login flow, set
the username to 'null' to update the user avatar.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/922

6 years agouserWidget: Adapt if user is not mentioned for username login
Umang Jain [Fri, 17 Jan 2020 06:47:34 +0000 (12:17 +0530)]
userWidget: Adapt if user is not mentioned for username login

If username-based login flow is followed, we need a default avatar
for the userWidget. Hence, check if the user passed to userWidget
is (null) which implies a username-based login flow.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/922

6 years agologinDialog: Move and relayout sessionMenuButton to bottom right
Umang Jain [Thu, 16 Jan 2020 06:43:29 +0000 (12:13 +0530)]
loginDialog: Move and relayout sessionMenuButton to bottom right

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/922

6 years agologinDialog: Apply CSS to sessionMenuButton according to mockups
Umang Jain [Tue, 28 Jan 2020 17:52:30 +0000 (23:22 +0530)]
loginDialog: Apply CSS to sessionMenuButton according to mockups

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/922

6 years agotheme: Add top padding to unlock-dialog-clock-time
Umang Jain [Tue, 14 Jan 2020 18:27:02 +0000 (23:57 +0530)]
theme: Add top padding to unlock-dialog-clock-time

The (imaginary) center line for clock time of unlock dialog and the
user avatar should be the same. Since the clock font is 64pt, we need
32pt padding (or 42px).

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/922

6 years agounlockDialog: Remove 'Login as another user' Label
Umang Jain [Sat, 1 Feb 2020 15:23:59 +0000 (20:53 +0530)]
unlockDialog: Remove 'Login as another user' Label

According to the new mockups, logging in as another user
should be handled by the (<) button present on the lock-screen.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/922

6 years agoauthPrompt: Iconize the cancel button
Umang Jain [Tue, 14 Jan 2020 15:15:48 +0000 (20:45 +0530)]
authPrompt: Iconize the cancel button

Replace the "Cancel" label in the cancel button
by an arrow icon, and adjust the theme to make
it circular.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/922

6 years agoauthPrompt: Move cancel button, entry and spinner to a single row
Umang Jain [Tue, 14 Jan 2020 19:02:24 +0000 (00:32 +0530)]
authPrompt: Move cancel button, entry and spinner to a single row

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/922

6 years agoauthPrompt: Remove Next button and its references
Umang Jain [Tue, 14 Jan 2020 15:04:26 +0000 (20:34 +0530)]
authPrompt: Remove Next button and its references

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/922

6 years agouserWidget: Allow vertical orientation for user avatars
Umang Jain [Tue, 14 Jan 2020 14:53:36 +0000 (20:23 +0530)]
userWidget: Allow vertical orientation for user avatars

Allow vertical orientation for the userWidget so that the user-avatar
can be centered and user's name can be placed below it. The plan
for 3.36 is to use this vertical userWidget layout for both lock
and login screen.

The userWidget is also used while creating the user-selection list
at the login, hence we still need to keep the horizontal layout
for userWidget in place.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/922

6 years agotheme: Make base icon size font-relative
Florian Müllner [Wed, 12 Feb 2020 18:46:44 +0000 (19:46 +0100)]
theme: Make base icon size font-relative

Most icons are used along-side text, like the top bar or menus.
It therefore makes sense for them to adjust along-side the text
when the text-scaling changes.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/995

6 years agoUpdate Turkish translation
Emin Tufan Çetin [Wed, 12 Feb 2020 17:42:05 +0000 (17:42 +0000)]
Update Turkish translation

6 years agoicons: update Extensions app icon
Jakub Steiner [Tue, 11 Feb 2020 12:09:02 +0000 (13:09 +0100)]
icons: update Extensions app icon

- use more geometric shapes, no tilt
- everything tends to be blue, use green instead

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/994

6 years agounlockDialog: Multiply blur sigma value with the scale factor
Jonas Dreßler [Tue, 11 Feb 2020 19:19:50 +0000 (20:19 +0100)]
unlockDialog: Multiply blur sigma value with the scale factor

Since the blur sigma decides how many pixels get factored in when
blurring and setting a scale factor increases the background texture by
that factor, the sigma value should also be multiplied by the scale
factor.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/991

6 years agoblur-effect: Remove modify_paint_volume vfunc override
Jonas Dreßler [Mon, 10 Feb 2020 14:27:34 +0000 (15:27 +0100)]
blur-effect: Remove modify_paint_volume vfunc override

If we modify the paint volume to make it larger and include the blur
radius, we should also use the gained size and draw something there.
Since the framebuffers are only the size of the actor to blur, we're not
doing that right now anyway, so remove the vfunc override.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/991

6 years agoblur-effect: Use sigma value instead of blur radius
Jonas Dreßler [Mon, 10 Feb 2020 14:34:57 +0000 (15:34 +0100)]
blur-effect: Use sigma value instead of blur radius

Almost all implementations, including CSS [1] of gaussian blurs use the
sigma/standard deviation value as the input parameter, even if they call
that value "radius". Since using sigma is more correct mathematically
and avoids confusion for people used to other blur implementations, use
that parameter here, too.

[1] https://www.w3.org/TR/filter-effects-1/#funcdef-filter-blur

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/991

6 years agoblur-effect: Implement incremental calculation of gauss coefficient
Jonas Dreßler [Mon, 10 Feb 2020 14:34:03 +0000 (15:34 +0100)]
blur-effect: Implement incremental calculation of gauss coefficient

Use the shader for linear sampling and incremental calculation of the
gaussian kernel values as it was implemented by Patrick Walton in
webrender.

The sigma value for the blur (the standard deviation) is calculated by
taking the blur radius and dividing it by 3, this value is used by most
implementations of gaussian blurs since it covers a high percentage of
the gaussian shape.

The linear sampling optimization is implemented by skipping every second
texel (i += 2) in the for-loop that's sampling adjacent texels.

https://github.com/servo/webrender/blob/master/webrender/res/cs_blur.glsl
https://github.com/servo/webrender/commit/38ec7db6f165ff7aaad12d91eca7d7a5f51557b5

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/991

6 years agoblur-effect: Only apply paint opacity once when blurring actor
Jonas Dreßler [Fri, 7 Feb 2020 09:23:20 +0000 (10:23 +0100)]
blur-effect: Only apply paint opacity once when blurring actor

We don't want to apply the opacity multiple times, because this would
also multiply the opacity we're applying.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/991

6 years agoblur-effect: Only apply paint opacity to actor blur
Jonas Dreßler [Fri, 7 Feb 2020 09:21:21 +0000 (10:21 +0100)]
blur-effect: Only apply paint opacity to actor blur

We don't want to apply the opacity of the actor when blurring the
background.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/991

6 years agoblur-effect: Don't paint background using actor opacity
Jonas Dreßler [Fri, 7 Feb 2020 09:10:58 +0000 (10:10 +0100)]
blur-effect: Don't paint background using actor opacity

The background should always be painted fully opaque, the opacity of the
actor does not change the one of the background.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/991

6 years agoblur-effect: Use int for opacity override
Jonas Dreßler [Fri, 7 Feb 2020 09:08:13 +0000 (10:08 +0100)]
blur-effect: Use int for opacity override

The opacity override can be -1 if no override is set, so use the
appropriate datatype here.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/991

6 years agoblur-effect: Floor downscaled frambuffer sizes
Jonas Dreßler [Mon, 10 Feb 2020 14:22:33 +0000 (15:22 +0100)]
blur-effect: Floor downscaled frambuffer sizes

Floor the downscaled size of the new framebuffer to make sure we don't
initialize a framebuffer with a floating point value that might be
interpreted wrong by `cogl_texture_2d_new_with_size` and end up with a
slightly wrong aspect ratio of the framebuffer.

This fixes situations where the widths or heights of downscaled
framebuffers sometimes miss some pixels at the border.

While at it, remove the `downscale_factor` argument from
`setup_projection_matrix` since that function doesn't need the initial
size of the actor anyway.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/991

6 years agoblur-effect: Add some more documentation about performance
Jonas Dreßler [Mon, 10 Feb 2020 14:21:29 +0000 (15:21 +0100)]
blur-effect: Add some more documentation about performance

Explicitly mention that this effect works best for large blur radii and
can be slow if the blurred actor/image is large and not being scaled.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/991

6 years agoblur-effect: Fix crash when switching to ACTOR mode
Jonas Dreßler [Mon, 10 Feb 2020 14:20:51 +0000 (15:20 +0100)]
blur-effect: Fix crash when switching to ACTOR mode

The `clear_framebuffer()` function takes a CoglFramebuffer, not a
FramebufferData object.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/991

6 years agotheme: revert window picker whitespace
Jakub Steiner [Mon, 10 Feb 2020 19:19:22 +0000 (20:19 +0100)]
theme: revert window picker whitespace

- revert to the more compact overview, providing more space for the
  window thumbnails.

Fixes https://gitlab.gnome.org/GNOME/gnome-shell/issues/2187

6 years agoUpdate Japanese translation
sicklylife [Tue, 11 Feb 2020 17:48:15 +0000 (17:48 +0000)]
Update Japanese translation

6 years agoUpdate Japanese translation
sicklylife [Tue, 11 Feb 2020 17:43:06 +0000 (17:43 +0000)]
Update Japanese translation

6 years agoUpdate Catalan translation
Jordi Mas [Tue, 11 Feb 2020 12:08:55 +0000 (13:08 +0100)]
Update Catalan translation

6 years agoUpdated Spanish translation
Daniel Mustieles [Tue, 11 Feb 2020 11:18:16 +0000 (12:18 +0100)]
Updated Spanish translation

6 years agoextensions-tool: Add option to list updates
Florian Müllner [Sat, 30 Nov 2019 18:52:42 +0000 (19:52 +0100)]
extensions-tool: Add option to list updates

Now that we support extension updates, it may be useful to list
pending updates from the command line. It's easy enough to support,
so add a corresponding option to the list command.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/988

6 years agobackground: Remove noise texture
Georges Basile Stavracas Neto [Wed, 5 Feb 2020 14:21:30 +0000 (11:21 -0300)]
background: Remove noise texture

Use the plain background color.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/issues/2174
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/872

6 years agoscreenShield: Remove lock screen group from Crtl-Alt-Tab manager
Georges Basile Stavracas Neto [Thu, 30 Jan 2020 15:17:07 +0000 (12:17 -0300)]
screenShield: Remove lock screen group from Crtl-Alt-Tab manager

There is nothing else to be focused in the lock screen itself -- the
top bar is already handled elsewhere, and the dialog manages itself
now.

Remove the lock screen group from the Ctrl-Alt-Tab manager.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/872

6 years agoscreenShield: Cleanup _ensureUnlockDialog
Georges Basile Stavracas Neto [Mon, 2 Dec 2019 15:36:38 +0000 (12:36 -0300)]
screenShield: Cleanup _ensureUnlockDialog

Just like on ScreenShield.activate(), we can just ensure the
unlock screen on ScreenShield.showDialog().

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/872

6 years agoscreenShield: Rework key focus management
Georges Basile Stavracas Neto [Mon, 2 Dec 2019 15:35:00 +0000 (12:35 -0300)]
screenShield: Rework key focus management

Instead of always grabbing key focus for the screen lock
group, do that for the unlock dialog itself.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/872

6 years agounlockDialog: Create auth prompt on demand
Georges Basile Stavracas Neto [Mon, 2 Dec 2019 14:01:20 +0000 (11:01 -0300)]
unlockDialog: Create auth prompt on demand

AuthPrompt is the set of actors that contain the user avatar,
the username, and the password entry. With the removal of the
screen shield, the unlock dialog (be it UnlockDialog or the
LoginDialog) is always created, and in the case of UnlockDialog,
so is the auth prompt.

This is problematic, though, since for passwordless accounts,
the simple act of creating AuthPrompt authenticates the user,
and lifts the lock screen.

Create the AuthPrompt on demand in UnlockDialog.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/872

6 years agounlockDialog: Add .critical CSS class to critical notifications
Georges Basile Stavracas Neto [Wed, 5 Feb 2020 14:58:57 +0000 (11:58 -0300)]
unlockDialog: Add .critical CSS class to critical notifications

As per the latest lock screen mockups, critical notifications must have
a more prominent, solid color.

Add a .critical style class to critical notification bubbles, and make
them darker.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/872

6 years agotheme: Adjust style of lock screen notifications
Georges Basile Stavracas Neto [Fri, 29 Nov 2019 19:08:20 +0000 (16:08 -0300)]
theme: Adjust style of lock screen notifications

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/872

6 years agounlockDialog: Line notification labels horizontally
Georges Basile Stavracas Neto [Fri, 29 Nov 2019 19:05:45 +0000 (16:05 -0300)]
unlockDialog: Line notification labels horizontally

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/872

6 years agounlockDialog: Use just the counter to format notifications
Georges Basile Stavracas Neto [Fri, 29 Nov 2019 19:05:12 +0000 (16:05 -0300)]
unlockDialog: Use just the counter to format notifications

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/872

6 years agounlockDialog: Show clock when canceling or failing auth
Georges Basile Stavracas Neto [Fri, 29 Nov 2019 19:14:26 +0000 (16:14 -0300)]
unlockDialog: Show clock when canceling or failing auth

There is still a problem of focus not going to the entry after the
first cancel, but it seems to work fine otherwise.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/872

6 years agounlockDialog: Toggle between clock and auth prompt
Georges Basile Stavracas Neto [Fri, 29 Nov 2019 17:37:10 +0000 (14:37 -0300)]
unlockDialog: Toggle between clock and auth prompt

Toggle between them when (1) tapping anythere on the screen, and
(2) pressing any key.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/872

6 years agounlockDialog: Move auth prompt and clock to a ShellStack
Georges Basile Stavracas Neto [Fri, 29 Nov 2019 17:36:01 +0000 (14:36 -0300)]
unlockDialog: Move auth prompt and clock to a ShellStack

We will toggle between each other in the next commit, so add
both to a ShellStack.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/872

6 years agoscreenShield: Remove key press event handler
Georges Basile Stavracas Neto [Fri, 29 Nov 2019 17:33:26 +0000 (14:33 -0300)]
screenShield: Remove key press event handler

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/872

6 years agounlockDialog: Introduce UnlockDialogLayout
Georges Basile Stavracas Neto [Fri, 29 Nov 2019 16:36:47 +0000 (13:36 -0300)]
unlockDialog: Introduce UnlockDialogLayout

This is the layout manager responsible for ensuring
that the clock is always at the third of the screen
height, and the notifications can push it to above.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/872

6 years agotheme: Adjust lock screen clock fonts
Georges Basile Stavracas Neto [Fri, 29 Nov 2019 15:52:47 +0000 (12:52 -0300)]
theme: Adjust lock screen clock fonts

These values were decided during the GNOME Shell Hackfest, but
they're still subject to changes.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/872

6 years agosessionMode: Remove lock-screen mode
Georges Basile Stavracas Neto [Fri, 29 Nov 2019 15:43:18 +0000 (12:43 -0300)]
sessionMode: Remove lock-screen mode

Now that the screen shield is gone (at least, as it used to
be), the corresponding session mode is not necessary anymore
as well.

Remove the 'lock-screen' session mode, and the corresponding
CSS.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/872

6 years agoscreenShield: Move lock shield below dialog
Georges Basile Stavracas Neto [Fri, 29 Nov 2019 15:30:23 +0000 (12:30 -0300)]
screenShield: Move lock shield below dialog

Pretty much what the commit title says.

This gives the lock shield actor another role: instead of
being the interactive screen shield, make it the invisible
actor that prevents interacting with windows while the
unlock dialog is sliding down.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/872

6 years agoscreenShield: Only animate the unlock dialog
Georges Basile Stavracas Neto [Fri, 29 Nov 2019 15:29:41 +0000 (12:29 -0300)]
screenShield: Only animate the unlock dialog

Remove the slide-up-down animation from the lock shield.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/872

6 years agoscreenShield: Rename _liftShield to _activateDialog
Georges Basile Stavracas Neto [Thu, 30 Jan 2020 14:30:55 +0000 (11:30 -0300)]
screenShield: Rename _liftShield to _activateDialog

Lifting the shield is now what happens *after* successfully logging
in, not before. Now, what we do is activate the dialog before logging
in.

Rename the method to reflect that.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/872

6 years agoscreenShield: Activate dialog when necessary
Georges Basile Stavracas Neto [Thu, 30 Jan 2020 14:44:43 +0000 (11:44 -0300)]
screenShield: Activate dialog when necessary

Activating a dialog is slightly different from opening it; the
former is about showing the user authentication widgetry, while
the latter is about creating it and pre-allocating the necessary
resources.

Activate the screen shield dialog when necessary.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/872

6 years agoscreenShield: Lift the unlock dialog
Georges Basile Stavracas Neto [Fri, 29 Nov 2019 15:24:17 +0000 (12:24 -0300)]
screenShield: Lift the unlock dialog

Instead of scaling it, lift the unlock dialog when unlocking,
and vice-versa.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/872

6 years agoscreenShield: Remove scrolling
Georges Basile Stavracas Neto [Thu, 28 Nov 2019 23:11:17 +0000 (20:11 -0300)]
screenShield: Remove scrolling

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/872

6 years agoscreenShield: Cleanup unused method arguments
Georges Basile Stavracas Neto [Thu, 28 Nov 2019 23:05:51 +0000 (20:05 -0300)]
screenShield: Cleanup unused method arguments

The 'velocity' argument is not used anymore, since the only
caller passing a different value than 0 was the drag motion
callback.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/872

6 years agoscreenShield: Remove the drag action from the shield
Georges Basile Stavracas Neto [Thu, 28 Nov 2019 23:00:58 +0000 (20:00 -0300)]
screenShield: Remove the drag action from the shield

This is start of the end of the screen shield; start by
removing the dragging action from it.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/872

6 years agounlockDialog: Don't destroy on cancel
Georges Basile Stavracas Neto [Thu, 28 Nov 2019 22:47:58 +0000 (19:47 -0300)]
unlockDialog: Don't destroy on cancel

Otherwise there will be no way to recover it in the future. Also
remove an else condition that assumed the dialog would destroy
itself on cancel.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/872

6 years agoscreenShield: Always show session's unlock dialog
Georges Basile Stavracas Neto [Thu, 28 Nov 2019 22:30:02 +0000 (19:30 -0300)]
screenShield: Always show session's unlock dialog

Instead of destroying the dialog when the screen shield is
visible, and creating it when lifting the shield, always show
the session's unlock dialog.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/872

6 years agoscreenShield: Remove _lockScreenContents and family
Georges Basile Stavracas Neto [Thu, 28 Nov 2019 22:25:55 +0000 (19:25 -0300)]
screenShield: Remove _lockScreenContents and family

It is not used anymore, and together with it, we don't need the
_ensureLockScreen() / _clearLockScreen() pair anymore too.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/872

6 years agounlockDialog: Blur background
Georges Basile Stavracas Neto [Tue, 7 Jan 2020 19:43:35 +0000 (16:43 -0300)]
unlockDialog: Blur background

Add a 200px blur with a 55% brightness to the unlock dialog
background.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/872

6 years agoscreenShield: Move background to Unlock Dialog
Georges Basile Stavracas Neto [Thu, 28 Nov 2019 22:16:55 +0000 (19:16 -0300)]
screenShield: Move background to Unlock Dialog

In addition to that, remove the ClutterBoxLayout that is set as
the layout manager of the Unlock Dialog, and apply the primary
monitor constraint to the child St.BoxLayout instead.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/872

6 years agoscreenShield: Remove unused 'onPrimary' argument
Georges Basile Stavracas Neto [Thu, 28 Nov 2019 21:53:46 +0000 (18:53 -0300)]
screenShield: Remove unused 'onPrimary' argument

The 'onPrimary' argument was being passed to dialog.open(). Turns out,
neither UnlockDialog nor LoginDialog use this parameter.

Remove the unnecessary 'onPrimary' parameter, and cleanup the related
code.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/872

6 years agoscreenShield: Move notifications to Unlock Dialog
Georges Basile Stavracas Neto [Thu, 28 Nov 2019 21:35:13 +0000 (18:35 -0300)]
screenShield: Move notifications to Unlock Dialog

Also adjust the CSS style classes names to match the new owner.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/872

6 years agounlockDialog, loginDialog: Add a 'wake-up-screen' signal
Georges Basile Stavracas Neto [Thu, 28 Nov 2019 21:22:55 +0000 (18:22 -0300)]
unlockDialog, loginDialog: Add a 'wake-up-screen' signal

The signal is currently present in the notifications box, but next
commits will move the notifications box to the unlock dialog.

Add a 'wake-up-screen' signal to the dialogs.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/872

6 years agounlockDialog: Adjust date format
Georges Basile Stavracas Neto [Mon, 10 Feb 2020 22:11:26 +0000 (19:11 -0300)]
unlockDialog: Adjust date format

As per design feedback at FOSDEM, adjust the time format to
not have a comma, nor padding.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/872

6 years agoscreenShield: Move clock to Unlock Dialog
Georges Basile Stavracas Neto [Thu, 28 Nov 2019 21:16:53 +0000 (18:16 -0300)]
screenShield: Move clock to Unlock Dialog

Move the Screen Shield clock to Unlock Dialog. Also adjust
the CSS style classes names to match the new owner.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/872

6 years agoscreenShield: Remove arrows
Georges Basile Stavracas Neto [Thu, 28 Nov 2019 21:01:38 +0000 (18:01 -0300)]
screenShield: Remove arrows

They are not present anywhere in the new mockups.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/872

6 years agokeyboard: Only enable automatically if ClutterSeat::touch-mode is enabled
Carlos Garnacho [Mon, 10 Feb 2020 19:03:30 +0000 (20:03 +0100)]
keyboard: Only enable automatically if ClutterSeat::touch-mode is enabled

This defers the policy on backends about whether it makes sense to show
the OSK.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/issues/872
6 years agoUpdate Finnish translation
Jiri Grönroos [Mon, 10 Feb 2020 21:31:42 +0000 (21:31 +0000)]
Update Finnish translation

6 years agoUpdate Turkish translation
Emin Tufan Çetin [Mon, 10 Feb 2020 20:24:58 +0000 (20:24 +0000)]
Update Turkish translation

6 years agoUpdate Indonesian translation
Kukuh Syafaat [Mon, 10 Feb 2020 06:52:35 +0000 (06:52 +0000)]
Update Indonesian translation

6 years agoUpdate Galician translation
Fran Dieguez [Sun, 9 Feb 2020 22:26:45 +0000 (22:26 +0000)]
Update Galician translation

6 years agoUpdate Japanese translation
sicklylife [Sat, 8 Feb 2020 20:44:46 +0000 (20:44 +0000)]
Update Japanese translation

6 years agoUpdate Japanese translation
sicklylife [Sat, 8 Feb 2020 20:31:51 +0000 (20:31 +0000)]
Update Japanese translation

6 years agoUpdate British English translation
Bruce Cowan [Sat, 8 Feb 2020 13:03:04 +0000 (13:03 +0000)]
Update British English translation

6 years agoUpdated Lithuanian translation
Aurimas Černius [Sat, 8 Feb 2020 12:25:56 +0000 (14:25 +0200)]
Updated Lithuanian translation

6 years agoUpdate Basque translation
Asier Sarasua Garmendia [Sat, 8 Feb 2020 08:10:26 +0000 (08:10 +0000)]
Update Basque translation

6 years agoUpdate Persian translation
Danial Behzadi [Fri, 7 Feb 2020 22:06:14 +0000 (22:06 +0000)]
Update Persian translation

6 years agomagnifier: Make magnification factor changes animatable
Carlos Garnacho [Thu, 6 Feb 2020 13:21:14 +0000 (14:21 +0100)]
magnifier: Make magnification factor changes animatable

So we can seamlessly change between them through eg. keybindings.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/984